//
//  UIViewController+Album.h
//  LuxuryGoods
//
//  Created by 刘星辰 on 2018/5/19.
//  Copyright © 2018年 Future. All rights reserved.
//

#import <UIKit/UIKit.h>
@class PHAsset;
@interface UIViewController (Album)

/**
 单选图片
 */
- (void)pickerSingleImageAction:(void(^)(UIImage *image))imageBlock;


/**
 多选图片

 @param count 图片的限制回调个数
 */
- (void)pickerManyImageCount:(NSInteger)count action:(void(^)(NSArray <UIImage *>*images))imageBlock;

/**
 返回的是PHAsset
 
 @param count 图片的限制回调个数
 */
- (void)pickerManyImageCount:(NSInteger)count handle:(void(^)(NSArray <PHAsset *>*images))imageBlock;

- (void)gotoSelectedAssets:(NSMutableArray *)selectedAssets index:(NSInteger)index;

@end
